package fr.utbm.gi.vi51.slizers.pw.learning;

import java.io.Serializable;

import fr.utbm.gi.vi51.slizers.framework.learning.QAction;
import fr.utbm.gi.vi51.slizers.pw.agent.action.CreatureAction;

public class CreatureQAction implements QAction, Serializable
{
	/**
	 * 
	 */
	private static final long	serialVersionUID	= 1159708251184033521L;
	public CreatureAction	value;

	public CreatureQAction( CreatureAction a )
	{
		value = a;
	}

	@Override
	public int toInt()
	{
		return value.ordinal();
	}

	/**
	 * Returns the enum action.
	 * 
	 * @return the enum action
	 */
	public CreatureAction getAction()
	{
		return this.value;
	}
}
